const { Switch } = require("../lib/types");

module.exports = {
    name: "ngx_mail_proxy_module",
    map: {
        proxy_buffer: [String, "4k|8k", ["mail", "server"]],
        proxy_pass_error_message: [Switch, false, ["mail", "server"]],
        proxy_protocol: [Switch, false, ["mail", "server"]],
        proxy_smtp_auth: [Switch, false, ["mail", "server"]],
        proxy_timeout: [String, "24h", ["mail", "server"]],
        xclient: [Switch, true, ["mail", "server"]]
    }
};